package com.crm.system.service.permissionManagement;

import com.crm.model.entity.sys.permissionManagement.SysCompanyPermission;

import java.util.List;

/**
 * @ Author ：pym
 * @ Date   ：2020/12/10 13:24
 */
public interface SysCompanyPermissionService {
    /**
     * 批量删除公司-权限关联
     * @param menuPermissionIds
     * @return
     */
    int batchDelSysCompanyPermissionByMPIds(List<String> menuPermissionIds);

    /**
     * 根据菜单-权限组关联表主键集合查询公司-权限关联表
     * @param menuPermissionIdList
     * @return
     */
    List<SysCompanyPermission> selectSysCompanyPermissionList(List<String> menuPermissionIdList);
}
